projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7551f85
)
a11y: Use the appropriate GVariant for cache signals
author
Emmanuele Bassi
<ebassi@gnome.org>
Thu, 19 Nov 2020 12:14:55 +0000
(12:14 +0000)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Thu, 19 Nov 2020 12:14:55 +0000
(12:14 +0000)
We need to wrap the argument for AddAccessible and RemoveAccessible into
a tuple, as that's what GDBus expects.
gtk/a11y/gtkatspicache.c
patch
|
blob
|
history
diff --git
a/gtk/a11y/gtkatspicache.c
b/gtk/a11y/gtkatspicache.c
index 31172d2cb6153e9313b722cbaa2a983d64f2737f..880a64cc5c85456b9d194e3101a7296f28a2cf0c 100644
(file)
--- a/
gtk/a11y/gtkatspicache.c
+++ b/
gtk/a11y/gtkatspicache.c
@@
-185,7
+185,8
@@
emit_add_accessible (GtkAtSpiCache *self,
self->cache_path,
"org.a11y.atspi.Cache",
"AddAccessible",
- g_variant_builder_end (&builder),
+ g_variant_new ("(@(" ITEM_SIGNATURE "))",
+ g_variant_builder_end (&builder)),
NULL);
}
@@
-198,7
+199,7
@@
emit_remove_accessible (GtkAtSpiCache *self,
self->cache_path,
"org.a11y.atspi.Cache",
"RemoveAccessible",
-
ref
,
+
g_variant_new ("(@(so))", ref)
,
NULL);
}